package com.mybatis.service.shop;

import com.mybatis.basic.entity.AjaxJson;
import com.mybatis.entity.shop.GoodsProperty;

public interface GoodsPropertyService{
	//新增
	public AjaxJson add(GoodsProperty goodsProperty);
	//根据ID查询
	public AjaxJson queryOne(Integer id);
	//分页查询(无条件查询)
	//public AjaxJson queryListByPage(String typeName,String proName,Integer page,Integer rows);
	public AjaxJson queryListByPage(GoodsProperty goodsProperty,Integer page,Integer rows);
	//删除
	public AjaxJson del(Integer id);
	//修改
	public AjaxJson mod(GoodsProperty goodsProperty);
}
